package com.zut.blocks.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class RouteController {

    @RequestMapping(value = {"/index", "/"})
    public String index() {
        return "index.html";
    }


    @RequestMapping("/user/tea")
    public String userTea() {
        return "tea/course.html";
    }

    @RequestMapping("/user/stu")
    public String userStu() {
        return "stu/info.html";
    }


    @RequestMapping("/user/tea/grade")
    public String grade() {
        return "tea/grade.html";
    }

    @RequestMapping("/user/tea/course/grade")
    public String coursegrade() {
        return "tea/course/grade.html";
    }
    @RequestMapping("/user/tea/group")
    public String group() {
        return "tea/group.html";
    }
}
